package com.ruoyi.app.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.app.Card;
import com.ruoyi.system.domain.app.CommunityMember;
import com.ruoyi.system.domain.app.RechargeOrder;
import com.ruoyi.system.domain.app.User;

import java.util.List;

public interface UserService {

    AjaxResult wxLogin(String code,String encrypted,String iv,String name ,String icon,String appId);

    String smsLogin(String phone,String code,String appId);

    void setPhone(String phone,String code);

    AjaxResult sendSms(String phone);

    void setUser(User user);

    User getUserInfo();

    List<Card> cardList();

    List<CommunityMember> balanceList(Long communityId);

    void lossCard(Long cardId);

    void unbindCard(Long cardId);

    void bindCard(String cardNum);

    RechargeOrder getRechargeStatus();


}
